package com.qinyh.activity;

import com.qinyh.view.ShelfView;

import android.app.Activity;
import android.graphics.Bitmap.Config;
import android.os.Bundle;
import android.util.Log;
import android.view.Display;
import android.widget.Toast;

public class MainActivity extends Activity {
	/** Called when the activity is first created. */
	ShelfView sv;
	MainActivity main ;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		// requestWindowFeature(Window.FEATURE_NO_TITLE);
		// getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
		// WindowManager.LayoutParams.FLAG_FULLSCREEN);
		setContentView(R.layout.main);
		Log.v("debug", "..................1");
		sv = (ShelfView) findViewById(R.id.shelf);
		sv.setActivity(this);
	}
}